import httpFetch from "share/httpFetch"

export default {

  saveOrUpdate(params) {
    return httpFetch.post(`/payment/api/nachaTemplate/insertOrUpdate`, params)
  },

  getDetailInfo(id) {
    return httpFetch.get(`/payment/api/nachaTemplate/findNachaTemplate?id=${id}`)
  },

  getDetailList(params) {
    return httpFetch.get(`/payment/api/nachaTemplate/field/findPage`, params)
  },

  deleteList(id) {
    return httpFetch.delete(`/payment/api/nachaTemplate/field/delete?id=${id}`)
  },

  detailUpdate(params) {
    return httpFetch.post(`/payment/api/nachaTemplate/field/insertOrUpdate`, params)
  }

}
